﻿<%@ Page Language="C#" MasterPageFile="~/Globals/GenericMasterPage.master" AutoEventWireup="true" CodeFile="ABMUnidadesMedida.aspx.cs" Inherits="Modules_EnfermedadesControlEstanque_ABMUnidadesMedida" Title="Untitled Page" %>

<%@ Register Src="../../Controls/TecnopezDataGRIDABMView.ascx" TagName="TecnopezDataGRIDABMView"
    TagPrefix="uc1" %>
    
<%@ Register Src="../../Controls/TecnoPezUpdateProgress.ascx" TagName="TecnoPezUpdateProgress"
    TagPrefix="uc2" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<%@ Register Assembly="Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet"
    Namespace="Microsoft.Practices.EnterpriseLibrary.Validation.Integration.AspNet"
    TagPrefix="cc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CPHPrincipal" Runat="Server">
    <asp:ScriptManager ID="ScriptManagerEnfermedades" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanelEnfermedades" runat="server" UpdateMode="Conditional">
        <ContentTemplate>
    <asp:Wizard ID="wzrABM" runat="server" ActiveStepIndex="1" BorderColor="#B5C7DE"
        BorderWidth="0px" Font-Names="Verdana" Font-Size="0.8em" DisplaySideBar="False">
        <StepStyle Font-Size="0.8em" ForeColor="#333333" VerticalAlign="Top" />
        <SideBarStyle BackColor="#507CD1" Font-Size="0.9em" VerticalAlign="Top" />
        <NavigationButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid"
            BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" />
        <WizardSteps>
            <asp:WizardStep ID="wzrBusqueda" runat="server" StepType="Complete" Title="Busqueda">
    <Table style="width: 100%" id="TableData" cellspacing=0>
        <tr>
            <td colspan="3" class="cabeceraTabla">
                Buscar Unidades de Medida</td>
        </tr>
        <tr>
            <td style="width: 200px" class="columnaLabels">
                <asp:Label ID="lblBuscarDescripcion" runat="server" Text="Descripci&#243;n" Width="200px"></asp:Label></td>
            <td style="width: 210px;" class="columnaData">
                <asp:TextBox ID="txtBuscarDescripcion" runat="server" Width="200px"></asp:TextBox></td>
            <td rowspan="1" valign="top">
                <asp:Button ID="cmdBuscar" runat="server" Text="Buscar" CssClass="Boton" Height="23px" Width="102px" BorderStyle="None" OnClick="cmdBuscar_Click" />
                <asp:Button ID="cmdNuevo" runat="server" Text="Nuevo" Width="102px" OnClick="cmdNuevo_Click" CssClass="Boton" Height="23px" />
            </td>
        </tr>
        <tr>
            <td colspan="3" style="height: 170px">
                <uc1:TecnopezDataGRIDABMView ID="TecnopezDataGRIDABMViewUnidadMedidad" runat="server" />
                <br />
                <br />
                &nbsp;<br />
            </td>
        </tr>
        </table>
        </asp:WizardStep>
            <asp:WizardStep ID="wzrEdicion" runat="server" StepType="Complete" Title="Edicion">
        <table width="100%" cellspacing=0>
            <tr>
                <td colspan="4" class=cabeceraTabla style="height: 20px">
                    Datos de la Unidad de medida</td>
            </tr>
        <tr>
            <td class="columnaLabels" style="width: 200px; height: 26px;">
                <asp:Label ID="Label1" runat="server" Text="C&#243;digo" Width="200px"></asp:Label></td>
            <td class="columnaData" style="width: 205px; height: 26px;">
                <asp:TextBox ID="txtID" runat="server" Width="200px"></asp:TextBox>
            </td>
            <td class="columnaData" style="width: 1px; height: 26px;">
                &nbsp;</td>
            <td style="width: 7px" rowspan="2" valign="top">
                <asp:Button ID="cmdEditar" runat="server" Text="Editar" Width="102px" OnClick="cmdEditar_Click" CssClass="Boton" Height="23px" CausesValidation="False" />
                <asp:Button ID="cmdEliminar" runat="server" Text="Eliminar" OnClick="cmdEliminar_Click" CssClass="Boton" Height="23px" Width="102px" CausesValidation="False" />
            </td>
        </tr>
        <tr>
            <td class="columnaLabels" style="width: 200px">
                <asp:Label ID="Label2" runat="server" Text="Descripci&#243;n" Width="200px"></asp:Label></td>
            <td class="columnaData" style="width: 205px">
                <asp:TextBox ID="txtDescripcion" runat="server" Width="200px" MaxLength=30></asp:TextBox>
            </td>
            <td class="columnaData" style="width: 1px">
            &nbsp;</td>
        </tr>
        <tr>
            <td class="columnaLabels" style="width: 200px">
                <asp:Label ID="Label3" runat="server" Text="Abreviatura" Width="200px"></asp:Label></td>
            <td class="columnaData" style="width: 205px">
                <asp:TextBox ID="txtAbreviatura" runat="server" Width="200px"></asp:TextBox>
            </td>
            <td class="columnaData" style="width: 1px">
            &nbsp;</td>
            <td style="width: 7px">
            </td>
        </tr>
        <tr>
            <td valign="top" style="width: 200px; height: 48px;" class="columnaLabels">
                &nbsp;</td>
            <td valign="top" style="width: 205px; height: 48px;" class="columnaData">
                &nbsp;</td>
            <td class="columnaData" valign="top" style="width: 1px; height: 48px;">
                &nbsp;</td>
            <td valign="bottom" style="width: 7px; height: 48px;">
                <asp:Button ID="cmdAceptar" runat="server" Text="Aceptar" OnClick="cmdAceptar_Click" CssClass="Boton" Height="23px" Width="102px" /><asp:Button ID="cmdCancelar" runat="server" Text="Cancelar" CssClass="Boton" Height="23px" Width="102px" CausesValidation="False" OnClick="cmdCancelar_Click" />
            </td>
        </tr>
        <tr>
            <td valign="top" colspan="2" style="height: 25px">
                &nbsp;<asp:Label ID="_lblError" runat="server" CssClass=errorLabel></asp:Label>
                <br />
                <cc2:PropertyProxyValidator ID="PPVDescripcion" runat="server" Display="Dynamic"
                    DisplayMode="List" RulesetName="" SetFocusOnError="True"></cc2:PropertyProxyValidator>
                <br />
                <cc2:PropertyProxyValidator ID="PPVAbreviatura" runat="server" Display="Dynamic"
                    DisplayMode="List" RulesetName="" SetFocusOnError="True"></cc2:PropertyProxyValidator>
            </td>
            <td colspan="1" style="height: 25px; width: 1px;" valign="top">
            </td>
            <td valign="top" style="width: 7px; height: 25px;">
            </td>
        </tr>
            <tr>
                <td colspan="2" style="height: 25px" valign="top">
                    &nbsp;
                </td>
                <td colspan="1" style="height: 25px; width: 1px;" valign="top">
                </td>
                <td style="width: 7px; height: 25px" valign="top">
                </td>
            </tr>
    </table>
                </asp:WizardStep>
        </WizardSteps>
        <SideBarButtonStyle BackColor="#507CD1" Font-Names="Verdana" ForeColor="White" />
        <HeaderStyle BackColor="#284E98" BorderColor="#EFF3FB" BorderStyle="Solid" BorderWidth="2px"
            Font-Bold="True" Font-Size="0.9em" ForeColor="White" HorizontalAlign="Center" />
    </asp:Wizard>
        </ContentTemplate>
    </asp:UpdatePanel>
    <uc2:TecnoPezUpdateProgress ID="TecnoPezUpdateProgress1" runat="server" />
</asp:Content>

